<link href="<?php echo base_url(); ?>assets/css/jquery-ui-1.8.16.custom.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo base_url(); ?>assets/jscripts/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript">
$(function() {
	
	$( "#datepicker" ).datepicker({
        		changeMonth: true,
        		changeYear: true,
                yearRange: '1930:2011',
                defaultDate: '01-01-1970'
        	});
			$( "#datepicker" ).datepicker("option", "dateFormat", "dd-mm-yy");
});	
</script>
<style>
#content .info-contact span.error {
    color: #FF0000;
	clear:none;
    margin-left: 5px;
	float:left;
	font-weight:500;
	padding-top: 4px;
}
.required {
    color: #FF0000;
	font-weight:500;
}

</style>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/jscripts/jquery.validate.js"></script>
<script type="text/javascript">
$().ready(function() {
	$("#frm_register").validate({
		rules: {
			password: {
				required: true,
				minlength: 5
			},
			password_confirm: {
				required: true,
				minlength: 5,
				equalTo: "#password"
			}
		},
		messages: {
			password: {
				required: "<?php echo lang('PLEASE INPUT PASSWORD'); ?>",
				rangelength: "<?php echo lang('MIN PASSWORD LENGTH'); ?>"
			},
			password_confirm: {
				required: "<?php echo lang('PLEASE VERIFY PASSWORD'); ?>",
				minlength: "<?php echo lang('MIN PASSWORD LENGTH'); ?>",
				equalTo: "<?php echo lang('SAME PASSWORD'); ?>"
			}
		}
	});	
});
</script>
          <div class="main-banner">
            	
                <div class="right" id="container">
                	<div id="example">
                        <div id="slides">
                            <div class="slides_container"> 
                             <?php
							if(count($slideshows))
							{
								foreach($slideshows as $item)
								{
							?>
                                <a href="#"><img src="<?php echo $this->config->item('link-assets').$this->config->item('upload_folder_banner').$item['image']; ?>" width="665" height="166" alt="" /></a>
							<?php
                                }
                            }
                            ?>     
                            </div>
                            <div class="bg-left"></div>
                            <div class="bg-right"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <div id="main-container">
        	<div class="main-left">
            	<div class="block">
                    <h3><a href="#">Lorem Ipsum is simply dummy</a></h3>
                    <p>Text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book</p>
                 </div>
                 <div class="block service">
                 	<h3><a href="#">Diensten:</a></h3>
                    <ul class="list">
                    	<a href="jongeren.html">Jongeren</a></li>
                        <a href="opleidingstraject.html">Opleidingstraject</a></li>
                        <a href="reintegratie.html">Re-integratie</a></li>
                        <a href="bedrijven.html">Bedrijven</a></li>
                    </ul>
                 </div>
            </div>
            <div class="main-right">
            	<h1><?php echo lang('CREATE NEW PASSWORD'); ?></h1>
                <?php
					if($this->session->flashdata('error')!='')
					{
						echo "<div class='alert'>".$this->session->flashdata('message')."</div>";	
					}
					echo form_open('user/save_renew_password','name="frm_register" id="frm_register"');
				?>
                <div class="block1">   
    				<ul>
                        
                        	<label><?php echo lang('PASSWORD'); ?>*:</label>
                            <input type="password" style="float:left" name="password" id="password"  value="<?php echo set_value('password'); ?>" />
                        </li>
                        
                        	<label><?php echo lang('RETYPE PASSWORD'); ?>*:</label>
                            <input type="password" style="float:left" name="password_confirm" id="password_confirm" />
                        </li>
                        
                            <input class="button" type="submit" value="<?php echo lang('T_SEND'); ?>" name="" />
                        </li>
                    </ul>
                </div>
                <input type="hidden" name="authen" value="<?php echo $authen_string; ?>"/>
                </form>
            </div>            
        </div>
        
        <div id="block-social">
        	<p>Rembrandtweg 257, 2981 CZ Ridderkerk</p>
            <ul>
            	<img src="images/icon-facebook-01.png" width="20" height="20" alt="" />
                <a href="http://www.facebook.com/lerenzonderschool">Facebook</a></li>
                <img src="images/icon-twitter-01.png" width="20" height="20" alt="" /><a href="http://www.twitter.com/bma_academy">Twitter</a></li>
                <img src="images/icon-linkedin.png" width="20" height="20" alt="" /><a href="http://www.linkedin.com/company/2536883?trk=tyah">Linkedin</a></li>
                <img src="images/icon-email.png" width="20" height="20" alt="" /><a href="mailto:info@bma-academy.nl">info@bma-academy.nl</a></li>
                <img src="images/icon-phone.png" width="20" height="20" alt="" /><a href="#">0180-420199</a></li>
            </ul>
        </div>
        
<script>
jQuery(document).ready(function(){
	jQuery("#home").addClass('active');
});
</script>